package com.monkeyboy.spring.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author Gavin
 * @date 2020.06.22 10:49
 */
@Component
public class IndexService {
	@Autowired
	private UserService userService;
	public IndexService() {
		System.out.println("constructor from indexService");
	}
	public  void getService(){
		System.out.println(userService);
	}
}
